package com.guchenbo.example.arg;

/**
 * Created by CreGu on 2016/6/14.
 */
public class TestArg {
    public void m(byte[] buff) {
        byte[] b = buff;

        b[0] = 65;
        System.out.println(buff[0]);
        System.out.println(b[0]);
    }

    public static void main(String[] args) {
        TestArg testArg = new TestArg();
        byte[] buff = new byte[1024];

        buff[0] = 64;
        buff[1] = 65;
        testArg.m(buff);

        System.out.println(buff[0]);
    }
}
